# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'AddQueryDialog.ui'
#
# Created: Sun Dec 18 17:31:04 2011
#      by: PyQt4 UI code generator 4.8.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_AddQueryDialog(object):
    def setupUi(self, AddQueryDialog):
        AddQueryDialog.setObjectName(_fromUtf8("AddQueryDialog"))
        AddQueryDialog.resize(444, 410)
        AddQueryDialog.setMinimumSize(QtCore.QSize(378, 338))
        AddQueryDialog.setWindowTitle(QtGui.QApplication.translate("AddQueryDialog", "Select Query", None, QtGui.QApplication.UnicodeUTF8))
        self.gridLayout = QtGui.QGridLayout(AddQueryDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.queriesTree = QtGui.QTreeWidget(AddQueryDialog)
        self.queriesTree.setObjectName(_fromUtf8("queriesTree"))
        self.queriesTree.headerItem().setText(0, QtGui.QApplication.translate("AddQueryDialog", "Queries", None, QtGui.QApplication.UnicodeUTF8))
        self.gridLayout.addWidget(self.queriesTree, 0, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(AddQueryDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1)

        self.retranslateUi(AddQueryDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), AddQueryDialog.onAccept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), AddQueryDialog.reject)
        QtCore.QObject.connect(self.queriesTree, QtCore.SIGNAL(_fromUtf8("itemDoubleClicked(QTreeWidgetItem*,int)")), AddQueryDialog.onAccept)
        QtCore.QMetaObject.connectSlotsByName(AddQueryDialog)

    def retranslateUi(self, AddQueryDialog):
        pass


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    AddQueryDialog = QtGui.QDialog()
    ui = Ui_AddQueryDialog()
    ui.setupUi(AddQueryDialog)
    AddQueryDialog.show()
    sys.exit(app.exec_())

